package song.yun;

import com.company.Pet;
import java.io.*;
public class babyman extends Man implements Pet, Serializable {
    private int chujizhong = 9;
    public babyman(){super();}
    public babyman(int h, int a, int j, int c){
        super(h, a, j);
        this.chujizhong = c;
    }
    public void print(){
        super.print();
        System.out.println(this.chujizhong);
    }

    @Override
    public void pao(double rate) {
        super.pao(rate);
    }

    @Override
    public void tiao(double tall) {
        super.tiao(tall);
    }
    public final static void fun2(){
        System.out.println("我是babyman类!");
    }
}
